package com.haoze.nurseapp.model;

import com.haoze.common.model.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

@Table(name = "IDR.PATIENT_ORDER_CHECK_LOG")
public class PatientOrderCheckLogEntity extends BaseEntity {
    @Id
    @Column(name = "LOG_ID")
    private String logId; //主键

    @Column(name = "INPATORDERDATA_ID")
    private String inpatorderdataId;

    @Column(name = "FLAG")
    private String flag;  //1 新增医嘱核对 2 停止医嘱核对

    @Column(name = "CHECK_DATETIME")
    private Timestamp checkDatetime;

    @Column(name = "CHECK_PERSON_ID")
    private String checkPersonId;

    public String getLogId() {
        return logId;
    }

    public void setLogId(String logId) {
        this.logId = logId;
    }

    public String getInpatorderdataId() {
        return inpatorderdataId;
    }

    public void setInpatorderdataId(String inpatorderdataId) {
        this.inpatorderdataId = inpatorderdataId;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public Timestamp getCheckDatetime() {
        return checkDatetime;
    }

    public void setCheckDatetime(Timestamp checkDatetime) {
        this.checkDatetime = checkDatetime;
    }

    public String getCheckPersonId() {
        return checkPersonId;
    }

    public void setCheckPersonId(String checkPersonId) {
        this.checkPersonId = checkPersonId;
    }

    public PatientOrderCheckLogEntity(String logId, String inpatorderdataId, String flag, Timestamp checkDatetime, String checkPersonId) {
        this.logId = logId;
        this.inpatorderdataId = inpatorderdataId;
        this.flag = flag;
        this.checkDatetime = checkDatetime;
        this.checkPersonId = checkPersonId;
    }
}
